package com.runjian.rundo.iot.agent.business.control.enums;

import lombok.Getter;

/**
 * 控制结果
 *
 * @author CaoQingHua
 */
@Getter
public enum ControlResult {

    HANDLE("CONTROL_HANDLE", "控制执行中"), SUCCESS("CONTROL_SUCCESS", "控制成功"), CANCEL("CONTROL_CANCEL", "控制取消"), FAILED("CONTROL_FAIL", "控制失败");

    private final String code;

    private final String message;

    ControlResult(String code, String message) {
        this.code = code;
        this.message = message;
    }
}